package com.bookstore.bean;

/***
 * Integer orderId;订单ID
 * Integer userId;用户、买家ID
 * Integer bookId;书本、商品ID
 * Integer storeId;店铺ID
 * Integer sellerId;卖家ID
 * int paided;是否支付
 * int canceled;是否取消订单
 * int delivered;是否发货
 *
 */
public class Order {
    private Integer orderId;
    private Integer userId;
    private Integer bookId;
    private Integer storeId;
    private Integer sellerId;
    private int paided;
    private int canceled;
    private int delivered;

    public Order() {
    }


    public Order(Integer orderId, Integer userId, Integer bookId, Integer storeId, Integer sellerId, int paided, int canceled, int delivered) {
        this.orderId = orderId;
        this.userId = userId;
        this.bookId = bookId;
        this.storeId = storeId;
        this.sellerId = sellerId;
        this.paided = paided;
        this.canceled = canceled;
        this.delivered = delivered;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getSellerId() {
        return sellerId;
    }

    public void setSellerId(Integer sellerId) {
        this.sellerId = sellerId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getBookId() {
        return bookId;
    }

    public void setBookId(Integer bookId) {
        this.bookId = bookId;
    }

    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public int getPaided() {
        return paided;
    }

    public void setPaided(int paided) {
        this.paided = paided;
    }

    public int getCanceled() {
        return canceled;
    }

    public void setCanceled(int canceled) {
        this.canceled = canceled;
    }

    public int getDelivered() {
        return delivered;
    }

    public void setDelivered(int delivered) {
        this.delivered = delivered;
    }
}
